import requests

#resp=requests.get(url="http://127.0.0.1/index.php/Home/Goods/search.html",
#             params={"q":"iphone"})
resp=requests.get(url="http://127.0.0.1/index.php/Home/Goods/search.html?q=iphone")
print(resp.text)